<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html>
<html lang="zh">
<link href="css/bootstrap.css" type="text/css" rel="stylesheet">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>美味书签</title>
</head>
<body data-offset="50" data-target=".subnav" data-spy="scroll">
	<%@include file="header.jsp"%>

	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span4"></div>
			<div class="span5">
				<form class="form-horizontal" action="login" method="post">
					<fieldset>
						<legend>登录</legend>
						<div class="control-group">
							<label class="control-label" for="username">用户名</label> <input
								type="text" class="span6" placeholder="username" name="username"><br>
							<label class="control-label" for="password">密码</label> <input
								type="password" class="span6" placeholder="password"
								name="password"><br>
							<s:if test="tip!=null">
								<label class="control-label"></label>
								<div class="alert alert-error">
									<button class="close" data-dismiss="alert">×</button>
									<strong>警告!</strong>
									<s:property value="tip" />
								</div>
							</s:if>
						</div>
						<div class="form-actions">
							<button class="btn btn-primary" type="submit">登录</button>
							<button class="btn" type="reset">重置</button>
						</div>
					</fieldset>
				</form>
			</div>
		</div>
	</div>
</body>
<script src="js/jquery-1.7.2.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/application.js"></script>
</html>